<?php
function show_shoppingcart_bar($title) {
	global $cart;
	
	$res = '
	<div id="wrap_title">
		<div class="category_name" style="float:left; width:400px;">' . $title . '</div>
		<div class="gio_hang">
			<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><p class="gio_hang" style="font-size:13px;">' . ($cart->count_contents() > 0 ? $cart->count_contents() : '0') . TEXT_ITEMS_IN_MY_BASKET . '</p></a>
		</div>
	</div>';
	
	return $res;
}
function show_checkout_bar($title) {
	global $cart;
	
	$res = '
	<div id="wrap_title">
		<div class="category_name" style="float:left; width:400px;">' . $title . '</div>
		<div class="gio_hang">
			<a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"><p class="gio_hang" style="font-size:13px;">' . ($cart->count_contents() > 0 ? $cart->count_contents() : '0') . TEXT_ITEMS_IN_MY_BASKET . '</p></a>
		</div>
	</div>
	<div class="step_icon">
		<a href="shopping_cart.php" class="step1 '.tep_set_current_page('shopping_cart.php','','actived1').'">&nbsp;</a>
		<a href="checkout_shipping.php" class="step2 '.tep_set_current_page('checkout_shipping.php','','actived2').'">&nbsp;</a>
		<a href="checkout_payment.php" class="step3 '.tep_set_current_page('checkout_payment.php','','actived3').'">&nbsp;</a>
		<a href="checkout_confirmation.php" class="step4 '.tep_set_current_page('checkout_confirmation.php','','actived4').'">&nbsp;</a>
	</div>
	
	
	';
	
	return $res;
}




?>